home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 34
/
Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso
/
Aminet
/
dev
/
c
/
PMM.lha
/
PMM
/
Developer
/
LibSrc
/
MPImageBase.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1999-10-22
|
326 b
|
18 lines
#include <exec/libraries.h>
#include <proto/exec.h>
struct Library *MPImageBase = NULL;
extern unsigned long _MPImageBaseVer;
void _INIT_5_MPImageBase()
{
if (!(MPImageBase = OpenLibrary("MPImage.library",_MPImageBaseVer)))
exit(20);
}
void _EXIT_5_MPImageBase()
{
if (MPImageBase)
CloseLibrary(MPImageBase);
}